/* 
    Document   : pagina
    Created on : 02-jun-2011, 17:56:54
    Author     : Jesus
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root { 
    display: block;
}

body{
 background-color: #2580a2;
 width: 1200px;
 margin: 0 auto;
 
}

#cabecera{
    background-color: #333;
    padding-bottom: 20px;
}

#cabecera h1{
    color: white;
    /*color: #2580a2;*/
    text-decoration: overline underline;
}
#cabecera p{
    text-align: right;
    padding: 5px 10px 0 0;
    color: white;
    text-decoration: none;  
}

#contenido{
    margin-left: 50px;
    float: left;
}


#menu {
	background: #333;
	float: left;
	list-style: none;
	margin: 0;
	padding-right: 80px;
        padding-bottom: 12px;
	width: 12em;
}
ul.principal li {
	font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
        display: inline;
        position: relative;
        float: left;
        padding-bottom: 20px;
        cursor: pointer
}
ul.principal li a {
	background: #333;
	border-bottom: 1px solid #393939;
	color: #ccc;
	display: block;
	margin: 0;
	padding: 8px 12px;
	text-decoration: none;
        float: left;
}
ul.principal li a:hover {
	background: #2580a2 url("images/hover.gif") left center no-repeat;
	color: #fff;
	padding-bottom: 8px;
        width: 130px; 
}

ul.secundario{
    margin-left: 130px;
    padding:0 5px;
    line-height: none;
    position:absolute;
    /*top:29px;*/
    left:0;
    /*border:solid 1px #c93300;*/
    border-width:0px 1px 1px 1px;
    width:60px;
    display:none;
    background:#2580a2;
}

#menu li:hover ul.secundario {
    display:block;
}

#menu li:hover a.secundario {
    background:#2580a2;
}

ul.secundario li {
    font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
    margin: 0px;
    float: right;
    display:block;
    /*border-bottom:solid 1px #dbdcd9;*/
    width:100%;
    /*background:url(images/d_horizontal_red_classic_menu_arrow.gif) no-repeat 3px 12px;*/
    padding:0 0 0 10px;
    background: #333;
}
#menu li:hover ul.secundario a {
    width: 73px;
    font-size: 11px;
}